package week1;

public class TicketMaker {

    private static TicketMaker count=null;
    private  TicketMaker(){}

    public static TicketMaker getInstance() {
        if(count==null){
            count =new TicketMaker();
        }
        return  count;
    }

    public static TicketMaker getNextTicketNumber(){


        return  count;
    }

}
